package com.kun.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kun.entity.SysMenu;
import com.kun.entity.SysPermission;
import com.kun.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * @author kun.li
 */
public interface SysMenuService extends IService<SysMenu> {
    List<SysPermission> selectPermission(Integer menuType,String tenantId,String userId);

    Map<String, Object> getRoute(String tenantId,String userId);

    List<SysMenu> getMenuListByRoelId(String roleId);

    List<SysMenu> selectMenuList(SysUser sysUser, String menuName);

    List<String> selectMenuListByPackageId(String packageId);

}
